{include file="public/header" /}

<div class="layui-layout layui-layout-admin">
    {include file="public/left" /}

    <div class="layui-body">
    <div class="layui-tab layui-tab-brief" lay-filter="tab">
        <ul class="layui-tab-title">
            <li class="layui-this"><a href="{:url('Logs/Index')}">操作日志</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th>序号|ID</th>
                        <th>用户名</th>
                        <th>操作内容</th>
                        <th>操作用户IP</th>
                        <th>操作时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name="list" id="v"}
                        <tr>
                            <td>{$i}|{$v['id']}</td>
                            <td>{$v.username}</td>
                            <td>{$v.content}</td>
                            <td>{$v.ip}</td>
                            <td>{:get_time($v['sendtime'],'Y-m-d H:i:s')}</td>
                        </tr>
                    {/volist}
                    </tbody>
                </table>
                <div class="page">
                </div>
            </div>
        </div>
    </div>
</div>

    {include file="public/footer" /}

</div>

</body>
</html>
